/* import request from './../../utils/request'; */
import request from '../../utils/request';

export default {
    //  获取广告横幅
    getAdvertsBanners() {
        return request.get('/adverts');
    },

    // 获取博文列表
    getBlogList(data) {
        return request.post('/recommends', data);
    },

    // http://1.14.164.194:9527/authorTop
    // 获取博文列表
    getAuthorTopList(query) {
        return request.get('/authorTop', query);
    },
};
